html, body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6,
 pre, code, form, fieldset, input, textarea, p, th, td, img, area, param {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

/* 用于icon或者小图 */
i, b {
  font-style: normal;
}

img {
  border: none;
}

pre {
	white-space: pre-wrap;
	word-break: break-all;
  border: none;
  background: none !important;
}


input, button, select, option, textarea, code {
  border: none;
  outline: none;
}

input, button {
  font-size: 14px;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #9E9E9E;
}

a {
  text-decoration: none;
  color: #757575;
}

/* 去掉iPhone、iPad的默认按钮样式 */
input[type="button"], input[type="submit"], input[type="reset"] {
  -webkit-appearance: none;
}

textarea {
  -webkit-appearance: none;
}

.button {
  border-radius: 0;
}

html {
  min-height: 100%;
  background: #FFFFFF;
}

body {
  font-family: "Tahoma", "Hiragino Sans GB", "Source Han Sans CN", arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #757575;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* flex布局 */
.fx {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.fx-v {
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  flex-direction: column;
}

.fx-1 {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
}

.fx-1-0 {
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
  flex: 1 0 auto;
}

.fx-n {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
}

.fx-align-start {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.fx-align-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.fx-align-end {
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.fx-justify-center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.fx-justify-end {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

.fx-justify-between {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.header-btn, .hb-on, .hb-off, .hb-all {
  border-radius: 4px;
  color: #fff;
  padding: 4px 10px;
  margin: 10px;
  cursor: pointer;
}
.hb-on {
  background-color: #76b769;
}
.hb-off {
  background-color: #cc605c;
}
.hb-all{
  background-color: #333;
}

.left-box, .mid-box, .right-box{
	box-sizing: border-box;
	margin: 6px 10px;
}
.left-box{
  flex: 1 1 auto;
}

.mid-box, .right-box{
  border-radius: 6px;
  flex: 0 0 auto;
  width: 35%;
}

.mr-box-bg {
  border: 1px dashed #e2e2e2;
}

.header-box{
  margin: 20px 0;
  padding: 16px;
}

.header-sty{
	font-size: 18px;
  font-weight: bold;
}
.warn{
	color: #cc605c;
}
.good{
	color: #76b769;
}

.rule-name{
	font-size: 16px;
	font-weight: bold;
  color: #76b769;
  margin-bottom: 8px;
}

.rule-name-warn {
  color: #cc605c;
}
.rule-name::after, .rule-name-warn::after {
  content: ' ';
  width: 40px;
  height: 2px;
  overflow: hidden;
  display: block;
  background-color: #76b769;
}
.rule-name-warn::after {
  background-color: #cc605c;
}
.rule-rm{
	font-size: 16px;
	color: #333;
	line-height: 1.8;
}
.rule-resion{
	font-size: 14px;
	color: #999;
}

.pre-warn,.pre-good{
  position: relative;
}
.pre-warn::before, .pre-good::before{
  position: absolute;
  background: #cc605c;
  width: 6px;
  height: 40px;
  content: " ";
  color: #fff;
  line-height: 100%;
  text-align: center;
  right: 8px;
  top: 0;
  border-radius: 2px;
}

.pre-good::before{
  background: #76b769;
  content: " ";
}

.rule {
  margin: 20px 0;
  border-radius: 8px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid #e2e2e2;
}

.rule-closed {
  /* border-color: #fdd2d2; */
}

.top{
  width: 40px;
  height: 40px;
  background-color: rgba(51, 51, 51, 0.8);
  color: #fff;
  position: fixed;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top::before {
  display: inline-block;
  border-top: 2px solid;
  border-right: 2px solid;
  width: 10px;
  height: 10px;
  border-color: #fff;
  transform: rotate(-45deg);
  margin-top: 5px;
  content: " ";
  cursor: pointer;
}

.header-top-select {
  border: 2px solid #666;
  margin: 10px;
  width: 70px;
}